package com.hzsk.lisence.service;

import com.hzsk.lisence.config.myexception.OperateException;
import com.hzsk.lisence.entity.LisenceUserEntity;
import com.hzsk.lisence.entity.LisenceUserGrouping;
import com.hzsk.lisence.entity.query.LisenceServiceQuery;
import com.hzsk.lisence.entity.response.IncResponce;

import java.util.List;

public interface UserService {


    void createGroupingByAdmin(LisenceUserGrouping lisenceUserGrouping,Integer userId,IncResponce incResponce);

    Object getUserGroupingList(LisenceServiceQuery lisenceServiceQuery);

    void updateUserGroupingInfo(LisenceUserGrouping lisenceUserGrouping,Integer userId,IncResponce incResponce);

    void delUserGroupingInfo(Integer id,Integer operatorUserId,IncResponce incResponce);

    void getUserList(LisenceServiceQuery lisenceServiceQuery, IncResponce incResponce);

    String saveLisenceUser( LisenceUserEntity lisenceUserEntity,Integer userId) throws OperateException;

    LisenceUserEntity userLogin(LisenceUserEntity lisenceUserEntity ,Integer userId) throws Exception;

    void updateUserInfo(LisenceUserEntity lisenceUserEntity,Integer userId,IncResponce incResponce);

    String delUserinfo(Integer userId,Integer operatorUserId);

    String setPasswordReset(Integer userId,Integer operatorUserId);
}
